import request from '@/utils/request'

// 查询遥测实时列表
export function listRealtime_yc(query) {
  return request({
    url: '/scada/realtime_yc/list',
    method: 'get',
    params: query
  })
}

// 查询遥测实时详细
export function getRealtime_yc(id) {
  return request({
    url: '/scada/realtime_yc/' + id,
    method: 'get'
  })
}

// 新增遥测实时
export function addRealtime_yc(data) {
  return request({
    url: '/scada/realtime_yc',
    method: 'post',
    data: data
  })
}

// 修改遥测实时
export function updateRealtime_yc(data) {
  return request({
    url: '/scada/realtime_yc',
    method: 'put',
    data: data
  })
}

// 删除遥测实时
export function delRealtime_yc(id) {
  return request({
    url: '/scada/realtime_yc/' + id,
    method: 'delete'
  })
}
